<template>
    <div class="Tips">
        <p>{{msg}}</p>
    </div>
</template>

<script>
    export default {
        name:"Tips-Component",
        props:['msg']
    }
</script>

<style lang="less" scoped>
    .Tips{
        width: 30vw;
        height: 8vw;
        background: rgba(0, 0, 0, 0.37);
        position: fixed;
        text-align: center;
        line-height: 8vw;
        font-size: 2vw;
        top: -20%;
        left:50%;
        transform: translateX(-50%);
        color: rgb(255, 255, 255);
        border-radius: 1vw;
        transition: .5s;
        z-index: 1000;
    }
</style>